
public class Animal 
{
	protected int age;
	private String name;
	public Animal(int inAge, String inName)
	{
		age = inAge;
		name = inName;
		 
	}
	public void setName(String newName) 
		{
		name = newName;
		}
	public String getName()
		{
		return name;
		}
	public void setAge(int newAge) 
		{
		age = newAge;
		}
	public int getAge()
		{
		return age;
		}
}
